package com.bank.backend.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 银行卡通用VO
 */
@Data
@ApiModel("银行卡通用VO")
public class CardVO implements Serializable {

    @ApiModelProperty("银行卡号")
    private String cardId;

    @ApiModelProperty("客户编号")
    private Integer userId;

    @ApiModelProperty("客户姓名")
    private String userName;

    @ApiModelProperty("存款业务ID")
    private Integer depositId;

    @ApiModelProperty("存款业务名称")
    private String depositName;

    @ApiModelProperty("币种")
    private String currency;

    @ApiModelProperty("开户日期")
    private LocalDateTime openDate;

    @ApiModelProperty("开户金额")
    private BigDecimal openMoney;

    @ApiModelProperty("账户余额")
    private BigDecimal balance;

    @ApiModelProperty("挂失状态(0-否，1-是)")
    private Integer isReportLoss;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
} 